/**
 *
 * Copyright (c) 2012 NCS Corporation.
 *
 * Author: tangb
 * Created Date: May 30, 2012
 * 
 * 	version					author					remark
 * 	1.0						tangb				
 */
package com.ocgs.base.core.web.action;

import com.opensymphony.xwork2.ActionContext;

import javax.servlet.http.HttpServletRequest;

public interface IBaseAction {

	public final static String TEXTRESULT = "textResult";
	public final static String JSONRESULT = "jsonResult";

	public ActionContext getContext();

	public HttpServletRequest getRequest();

//	public void beginInvoke() throws Exception;
//
//	public void endInvoke();

	public <T> T getBean(String name, Class<T> requiredType);

}
